#ifndef _SCRIPT_H_
#define _SCRIPT_H_

#include "s7/s7.h"

typedef s7_pointer Message;

class Script
{
   public:
      static Script& getInstance()
      {
         static Script script;
         return script;
      }

      s7_scheme* getS7() { return s7; }
      Message nil();

   private:
      Script();
      Script& operator= (const Script& x);

      s7_scheme *s7;

      void registerNatives();
};

#endif
